package com.xdwanj.ui;

import javax.swing.*;

public class MainFrame {


    private JFrame baseFrame;

    public void launch() {

        baseFrame = new JFrame("Zip工具");
        baseFrame.setLayout(null);
        baseFrame.setSize(750, 500);
        baseFrame.setLocationRelativeTo(null); //使软件的弹出位置为居中


        //启动
        baseFrame.setVisible(true);
        baseFrame.setResizable(false);
        baseFrame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
    }

}
